function FormObj(oEvents, oDepends, bEnableFa, bFaExpanded)
{
this.Events = oEvents;
this.Dependencies = oDepends;
this.EnableFormAssistant = bEnableFa;
this.FormAssistantExpanded = bFaExpanded;
}

function TabObj(sTabName,oLabels,bLockTab)
{
this.TabName		= sTabName;
this.Labels			= oLabels;
this.LockTab        = bLockTab;
}


function SectionObj(sTabName, sSectionName, bShowLabel, bShowBar,bLockSection,oLabels,sLayout,sColumns,iLabelWidth)
{
this.TabName		= sTabName;
this.SectionName	= sSectionName;
this.ShowLabel		= bShowLabel;
this.ShowBar		= bShowBar;
this.LockSection	= bLockSection;
this.Labels			= oLabels;
this.Layout         = sLayout;
this.Columns        = sColumns;
this.LabelWidth     = iLabelWidth;
}

function FieldObj(
sLabel,
bShowLabel,
bDisabled,
sTabName,
sSectionName,
bLocked,
bSpansTwoColumns,
iRowSpan,
bAutoExpanding,
sControlClassId,
oEvents,
sDataType,
sDataTypeFormat,
sAttributeDisplayName,
sAttributeSchemaName,
sAttributeDescription,
oParameters)
{

this.sLabel					= sLabel;
this.bShowLabel				= bShowLabel;
this.bDisabled				= bDisabled;
this.sTabName				= sTabName;
this.sSectionName			= sSectionName;
this.bLocked				= bLocked;
this.bSpansTwoColumns		= bSpansTwoColumns;
this.iRowSpan				= iRowSpan;
this.bAutoExpanding			= bAutoExpanding;
this.sControlClassId		= sControlClassId;
this.oEvents				= oEvents;
this.oParameters			= oParameters;


this.sDataType				= sDataType;
this.sDataTypeFormat		= sDataTypeFormat;
this.sAttributeDisplayName	= sAttributeDisplayName;
this.sAttributeSchemaName	= sAttributeSchemaName;
this.sAttributeDescription	= sAttributeDescription;
}



function LocalizedObj(sDescription, sLanguageCode)
{
this.Description	= sDescription;
this.LanguageCode	= sLanguageCode;
}

function EventObj(sName, bActive, bApplication, sScript, oDependencies)
{
this.Name			= sName;
this.Active			= bActive;
this.Application	= bApplication;
this.Script			= sScript;
this.Dependencies	= oDependencies;
}

function DependencyObj(sFieldName,sType,sName,bSystem)
{
this.FieldName = sFieldName;
this.Type = sType;
this.Name = sName;
this.System = bSystem;
}

function IframeObj(sId,sUrl,bPassParams,iRowSpan,bAuto,bSecure,sTabName,sSectionName,oLabels,bShowLabel,oDepends,sScrolling,bBoder)
{
this.Id = sId;
this.Url = sUrl;
this.PassParams = bPassParams;
this.RowSpan = iRowSpan;
if(bAuto == null) bAuto = false;
this.Auto = bAuto;
this.Secure = bSecure;
this.TabName = sTabName;
this.SectionName = sSectionName;
this.Labels			= oLabels;
this.ShowLabel      = bShowLabel;
this.Dependencies = oDepends;
this.Scrolling = sScrolling;
this.Border = bBoder;
}

function LocationObj(iRow,iColumn)
{
this.Row = iRow;
this.Column = iColumn;
}
